.PHONY:all

all:tcpserver tcpclient
tcpserver:tcpServer.cc
	g++ -o $@ $^ -std=c++11 -lpthread

tcpclient:tcpClient.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -rf tcpserver tcpclient